package com.bml.architect.seata.consumers;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author: baiml
 * @Title: StorageFeginService
 * @ProjectName: 中台技术平台
 * @Depart 中台研发部
 * @Description:
 * @date: 2021/5/12 8:44
 */
@FeignClient(value = "seata-storage-service",path = "/storage/")
public interface StorageFeginService {


     @RequestMapping(value = "/deduct",method = RequestMethod.GET)
     Boolean deduct(@RequestParam("commodityCode") String commodityCode, @RequestParam("count") Integer count);
}
